
CREATE PROCEDURE [dbo].[InitializeLayout] 
	@Loop_Limit int = 40
AS
BEGIN
	DECLARE @intFlag INT
	SET @intFlag = 1
	WHILE (@intFlag <=@Loop_Limit)
		BEGIN
			INSERT INTO [dbo].[Layout] ([Land_ID]) VALUES((SELECT Land_ID FROM [Game].[dbo].[fn_GetNthRow] (@intFlag)))
			SET @intFlag = @intFlag + 1
	
		END
END


-- [InitializeLayout] 38